procedure Exit;

Exit or stops the macro.

Also see:  End